package org.hive.data
{
	import flash.display.Loader;
	import flash.net.URLRequest;
	
	public class LoaderData extends Loader
	{
		private var __URL : String;
		private var __URLRequest:URLRequest;
		
		public var positionInLoadSet : Number = 0;
		public var incrementPassed:Boolean;
		public var loaderset:LoaderSet;
		public var isLoading : Boolean = false;
		public var isLoaded:Boolean = false;
		public var checkPolicy:Boolean;
		
		public function LoaderData( name:String, URL:String, p_checkPolicy:Boolean=false )
		{
			checkPolicy = p_checkPolicy;
			this.name = name;
			__URL = URL;	
			__URLRequest = new URLRequest( URL );
		}
		
		public function get URL():URLRequest
		{
			return __URLRequest;
		}
		
	}
}